body {
	margin: 0;
}

.msg_box {
	width: 400px;
	height: 600px;
	margin: 60px auto 0 auto;
	position: relative;
	border: 4px solid #b0b0b0;
	border-radius: 4px;
}

.msg_box .title {
	width: 100%;
	text-align: center;
	color: #5a5a5a;
	height: 44px;
	font-size: 16px;
	line-height: 44px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.msg_box .msg_container {
	width: 100%;
	height: 500px;
	position: relative;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

.msg_box .footer {
	height: 56px;
	width: 100%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	position: relative;
}

::-webkit-scrollbar {
	width: 4px;
	background-color: #cccccc;
	height: 0;
}

.footer textarea {
	resize: none;
	width: 300px;
	height: 34px;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	margin: 9px 14px;
}

.footer .btn {
	-webkit-user-select: none;
	width: 50px;
	height: 39px;
	position: absolute;
	background-color: #B0B0B0;
	color: white;
	font-size: 14px;
	line-height: 39px;
	border-radius: 5px;
	right: 14px;
	top: 9px;
	text-align: center;
	cursor: pointer;
}

.msg {
	clear: both;
	width: 100%;
	position: relative;
}

.msg .avatar {
	margin: 10px;
	height: 40px;
	width: 40px;
	border-radius: 100%;
	border: 2px solid rgba(255, 255, 255, 0.5);
	background-image: url(../img/draggy.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: inline-block;
	float: left;
}

.msg .content {
	max-width: 72%;
	display: inline-block;
	padding: 8px;
	line-height: 22px;
	margin: 12px 0 8px 0;
	border-radius: 5px;
	border: 1px solid #B0B0B0;
	color: #5A5A5A;
	vertical-align: top;
	font-size: 14px;
	float: left;
}

.piggy .content,
.piggy .avatar {
	float: right !important;
}

.piggy .avatar {
	background-image: url(../img/piggy.png);
}